fix(miner): make readMinRankAutotuneEnabled probe all four AMS policy filenames - #10215
Conversation
… filenames readMinRankAutotuneEnabled resolved only the canonical .loopover-ams.yml path, so an operator whose policy lived at .github/loopover-ams.yml, .loopover-ams.json, or .github/loopover-ams.json got their minRankAutotuneEnabled flag silently ignored by discover and calibration apply/revert-min-rank, even though the same file was already honoured at attempt time via resolveAmsPolicy. Export the shared resolveLocalAmsPolicyReadPath resolver from ams-policy.ts and call it here instead of recreating a second, narrower path lookup.
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-31 13:01:34 UTC
Review summary Nits — 5 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #10215 +/- ##
==========================================
+ Coverage 80.47% 80.49% +0.02%
==========================================
Files 282 284 +2
Lines 58844 59007 +163
Branches 6977 7047 +70
==========================================
+ Hits 47354 47497 +143
Misses 11199 11199
- Partials 291 311 +20
Flags with carried forward coverage won't be shown. Click here to find out more.
|
fix(miner): make readMinRankAutotuneEnabled probe all four AMS policy filenames
readMinRankAutotuneEnabled resolved only the canonical .loopover-ams.yml path,
so an operator whose policy lived at .github/loopover-ams.yml, .loopover-ams.json,
or .github/loopover-ams.json got their minRankAutotuneEnabled flag silently
ignored by discover and calibration apply/revert-min-rank, even though the same
file was already honoured at attempt time via resolveAmsPolicy. Export the
shared resolveLocalAmsPolicyReadPath resolver from ams-policy.ts and call it
here instead of recreating a second, narrower path lookup.
Closes #10009